package com.sunnada.edu.system.sysdict.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface SysDictService {

	public int getDictCots(HashMap<String, String> params);

	public List<?> findDicts(HashMap<String, String> params);

	public String dictDelete(HashMap<String, String> params);

	public String dictAdd(HashMap<String, String> params);

	public String dictUpdate(HashMap<String, String> params);

	public Map getDictByRecId(HashMap<String, String> params);
	
	public List getDictTypeList(HashMap<String, String> params);
	
	public String typeAdd(HashMap<String, String> params);
	
	public int getDictTypeCots(HashMap<String, String> params);

	public List<?> findDictTypes(HashMap<String, String> params);
	
	public Map getDictTypeByRecId(HashMap<String, String> params);
	
	public String typeUpdateSave(HashMap<String, String> params);
	
	public String dictTypeDelete(HashMap<String, String> params);
}
